package cn.thinkluck.pattern.visitor.computer;

import cn.thinkluck.pattern.visitor.visitor.ComputerVisitor;

/**
 * 鼠标的实现类
 * @Author liutao
 * @DateTime 2024/8/4 下午2:43
 */
public class MouseImpl implements Computer {
    /**
     * 鼠标的行为
     * @param computerVisitor 电脑访问者
     */
    @Override
    public void accept(ComputerVisitor computerVisitor) {
        computerVisitor.visitMouse();
    }
}
